package com.concurrent.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: zhouyang
 * @descrpition:
 * @time: 2019-05-03 13:55
 */
@RestController()
@RequestMapping(value = "test/")
public class DemoController {
    @GetMapping("/myself")
    public String myself() {
        System.out.println("Hello world!");
        return "myself";
    }
}
